<!--<?php
print <<<EOT
-->
<form id="detailsform" name="detailsform" onsubmit="return false;">
	<div class="member_title">个人资料</div>
	<table>
	  <tr>
	   <td class="member_b1">姓 名：</td>
	  <td><input name="user[realname]" id="realname" type="text" value="{$member['realname']}" size="15" class="text_css" /></td><td>&nbsp;</td>
	  </tr>
	  <tr>
	    <td class="member_b1">性 别：</td>
	    <td><input type="radio" value="0" name="user[sex]" checked="checked" class="radio_css" /> 男 <input type="radio" value="1" name="user[sex]" class="radio_css" /> 女 </td><td></td>
	  </tr>
	  <tr>
	    <td class="member_b1">生 日：</td>
	    <td>
	    <input name="user[birthday]" id="birthday" type="text" value="{$member['birthday']}" size="32" readonly="true" class="text_css" />
	    </td>
	    <td>&nbsp;</td>
	  </tr>
	  <tr>
	    <td class="member_b1">QQ：</td>
	  <td><input name="user[qq]" id="qq" type="text" value="{$member['qq']}" size="32" class="text_css" /></td><td>&nbsp;</td>
	  </tr>
	  <tr>
	    <td class="member_b1">MSN：</td>
	  <td><input name="user[msn]" id="msn" type="text" value="{$member['msn']}" size="32" class="text_css" /></td><td>&nbsp;</td>
	  </tr>
	  <tr>
	    <td class="member_b1"><span class="required">*</span>电子邮箱：</td>
	  <td><input name="user[email]" id="email" type="text" onblur="checkEmail()" value="{$member['email']}" size="32" class="text_css" /> <span id="email_tips">请输入您常用的电子邮箱地址。</span></td><td></td>
	  </tr>
	  <tr>
	    <td class="member_b1">联系电话：</td>
	    <td><input name="user[phone]" id="phone" type="text" value="{$member['phone']}" size="32" class="text_css" /></td><td>&nbsp;</td>
	  </tr>
	  
<!--
EOT;
if(getPopedom(5)==1){
print <<<EOT
-->
	  <tr>
	    <td class="member_b1">自定义头衔：</td>
	    <td><input name="user[usertitle]" id="usertitle" type="text" value="{$member['usertitle']}" size="32" class="text_css" /></td><td>&nbsp;</td>
	  </tr><!--
EOT;
}else{
print <<<EOT
-->
	  <tr>
	    <td class="member_b1">自定义头衔：</td>
	    <td><input name="user[usertitle]" id="usertitle" type="text" value="您所在的用户组没有权限自定义头衔" size="32" disabled="true" class="text_css" /></td><td>&nbsp;</td>
	  </tr><!--
EOT;
}
print <<<EOT
-->
	  <tr>
	    <td class="member_b1">帖子签名：</td>
	    <td><textarea name="user[signature]" id="signature" style="width:300px;height:100px;">{$member['signature']}</textarea></td><td>&nbsp;</td>
	  </tr>
	  <tr>
	    <td class="member_b1">&nbsp;</td>
	    <td><input name="button" type="button" class="button_css"  value=" 修  改 " onclick="checkDetailsAction()" /> <span id="details_tips"></span></td>
	    <td>&nbsp;</td>
	  </tr>

  </table>
</form>
<script>
var member_sex="{$member['sex']}";
window.onload=details_PageInit;
</script>
<!--
EOT;
?>
-->